<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="Author" content="lgn cjc-front-end" /> 
    <meta name="Copyright" content="" /> 
    <meta name="keywords" content="教育、萃菁池" />
    <meta name="description" content="" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <title>cjc-printer</title>
  </head>
  <body>
    <div id="app"></div>
    <object ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255" codebase="jatoolsPrinter.cab#version=8,6,0,0"></object>    
    <script>
      window.config = {
        Host: {
          production: 'http://10.20.5.200:8088',
          development: 'http://192.168.1.105:8088',
          websocket: 'ws://192.168.1.105:8088/websocket',
          test: 'http://10.20.5.20:8085'
        },
        userHost: {
          production: 'http://10.20.5.7:9090',
          development: 'http://10.20.5.7:9090',
          test: 'http://10.20.5.7:9090'
        },
        useNote: [
            '该自助终端打印机由四川萃菁池科技有限公司与西南财经大学天府学院XXX',
            '打印服务需使用TFinfo进行身份验证',
            '若遇异常情况，请联系9090960'
        ],
        qrcodeUrl: {
          url: 'static/images/authority.png'
        }
      }
    </script>
    <!-- built files will be auto injected -->
    <script type="text/javascript">function getInfo() {
        var s = "";
        s += " 网页可见区域宽：" + document.body.clientWidth + "\n";
        s += " 网页可见区域高：" + document.body.clientHeight + "\n";
        s += " 网页可见区域宽：" + document.body.offsetWidth + " (包括边线和滚动条的宽)" + "\n";
        s += " 网页可见区域高：" + document.body.offsetHeight + " (包括边线的宽)" + "\n";
        s += " 网页正文全文宽：" + document.body.scrollWidth + "\n";
        s += " 网页正文全文高：" + document.body.scrollHeight + "\n";
        s += " 网页被卷去的高(ff)：" + document.body.scrollTop + "\n";
        s += " 网页被卷去的高(ie)：" + document.documentElement.scrollTop + "\n";
        s += " 网页被卷去的左：" + document.body.scrollLeft + "\n";
        s += " 网页正文部分上：" + window.screenTop + "\n";
        s += " 网页正文部分左：" + window.screenLeft + "\n";
        s += " 屏幕分辨率的高：" + window.screen.height + "\n";
        s += " 屏幕分辨率的宽：" + window.screen.width + "\n";
        s += " 屏幕可用工作区高度：" + window.screen.availHeight + "\n";
        s += " 屏幕可用工作区宽度：" + window.screen.availWidth + "\n";
        s += " 你的屏幕设置是 " + window.screen.colorDepth + " 位彩色" + "\n";
        s += " 你的屏幕设置 " + window.screen.deviceXDPI + " 像素/英寸" + "\n";
        // alert(s);
      }
      getInfo();
      document.getElementById('jatoolsPrinter').style.setProperty('display', 'none');
    </script>
    <!-- 引入Eruda, 便于在手机端调试 发布之前请注释或者删除以下两行代码 -->
    <script src="//cdn.bootcss.com/eruda/1.4.2/eruda.min.js"></script>
    <script>eruda.init();</script>
    <!-- Eruda end-->
  </body>
</html>
